An O(nlogn) algorithm for the zoo-keeper's problem

نویسنده

  • Sergey Bereg
چکیده

The zoo-keeper's problem is to nd a shortest closed zoo-keeper's path starting at a point of the zoo and touching all cages. We present O(nlogn) algorithm for zoo-keeper's problem where n is the input size. The algorithm is based on a new data structure called the oodlight tree. We extend the approach to queries to nd a zoo-keeper's path with arbitrary nal point. We show that the zoo-keeper's queries can be answered in optimal time O(logn + K) time where K is the output size.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Faster 1.375-Approximation Algorithm for Sorting by Transpositions

Sorting by Transpositions is an NP-hard problem for which several polynomial-time approximation algorithms have been developed. Hartman and Shamir (2006) developed a 1.5-approximation [Formula: see text] algorithm, whose running time was improved to O(nlogn) by Feng and Zhu (2007) with a data structure they defined, the permutation tree. Elias and Hartman (2006) developed a 1.375-approximation ...

متن کامل

A path-following infeasible interior-point algorithm for semidefinite programming

We present a new algorithm obtained by changing the search directions in the algorithm given in [8]. This algorithm is based on a new technique for finding the search direction and the strategy of the central path. At each iteration, we use only the full Nesterov-Todd (NT)step. Moreover, we obtain the currently best known iteration bound for the infeasible interior-point algorithms with full NT...

متن کامل

Sweep Line Algorithm for Convex Hull Revisited

Convex hull of some given points is the intersection of all convex sets containing them. It is used as primary structure in many other problems in computational geometry and other areas like image processing, model identification, geographical data systems, and triangular computation of a set of points and so on. Computing the convex hull of a set of point is one of the most fundamental and imp...

متن کامل

Visibility Area of a Point in Existence of Circular Obstacles

In this paper, we consider the special class of visibility problems that is when there are a number of circular obstacles in the plane limiting the visibility area of an observer. Here we propose an algorithm to compute the visibility area, in O(nlogn) time. For the query version of the problem, data structure of size O(n) can be built in time O(nlogn) so that the visibility sequence of every p...

متن کامل

Sorting Signed Permutations by Inversions in O(nlogn) Time

The study of genomic inversions (or reversals) has been a mainstay of computational genomics for nearly 20 years. After the initial breakthrough of Hannenhalli and Pevzner, who gave the first polynomial-time algorithm for sorting signed permutations by inversions, improved algorithms have been designed, culminating with an optimal linear-time algorithm for computing the inversion distance and a...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Comput. Geom.

دوره 24  شماره 

صفحات  -

تاریخ انتشار 2003